.recommend {
    display: flex;
    flex-wrap: wrap;
    padding: 0 .1rem;
    height: 7rem;
    overflow-y: auto;
}

.recommend .itembox {
    width: 33.3%;
    height: 2rem;
    padding-top:.08rem;
    text-align: center;
}

.recommend .itembox p:nth-of-type(1) {
    width: 100%;
    height: .2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: .1rem 0;
}
.recommend .itembox img {
    width: 80%;
    margin-bottom: .1rem;
}
.recommend .itembox >span{
    color: red;
    background-color: rgb(251, 225, 230);
    font-size: 12px;
    border-radius: .05rem;
}
.recommend .itembox p:nth-of-type(2){
    color: red;
    font-size: 12px;
    margin: .08rem 0;
}
.recommend .itembox p:nth-of-type(2) span{
    font-size: 16px;
}